package com.twu.biblioteca.operation;

import com.twu.biblioteca.customer.Customer;
import com.twu.biblioteca.library.Library;

public class CheckMemberShipMenuOperation implements MenuOperation {
    @Override
    public String execute(Library library, Customer customer) {
	    if(!customer.getName().equals("")){
		    return customer.getDetails();
	    }else {
		    return "Please talk to a Librarian. Thank you.";
	    }
    }
}
